package com.sc.design.PK.create.abfac_builder.builder;

/**
 * @author sc
 * Created on  2017/12/7
 */
public class Car implements ICar {
    private String engine;
    private String wheel;

    Car(String engine,String wheel){
        this.engine = engine;
        this.wheel = wheel;
    }

    @Override
    public String getWheel() {
        return wheel;
    }

    @Override
    public String getEngine() {
        return engine;
    }

    @Override
    public String toString() {
        return "Car{" +
                "engine='" + engine + '\'' +
                ", wheel='" + wheel + '\'' +
                '}';
    }
}
